package com.jsz.peini.service.codes;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.jsz.peini.bean.codes.SystemCity;
import com.jsz.peini.mapper.codes.SystemCityMapper;

@Service
public class SystemCityService {
	
	@Resource
	private SystemCityMapper systemCityMapper;
	
	public List<SystemCity> findAll() {
		List<SystemCity> resultList = systemCityMapper.findAll();
		return resultList;
	}
	
	public List<SystemCity> findAllByOrder(int codesOrder) {
		List<SystemCity> resultList = systemCityMapper.findAllByOrder(codesOrder);
		return resultList;
	}

}
